namespace CQIE.TES.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Teacher_Course
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Teacher_Course()
        {
            TeachInfo = new HashSet<Class_Course>();
        }

        public int ID { get; set; }

        public int? TeacherID { get; set; }

        public int? CourseID { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Class_Course> TeachInfo { get; set; }

        public virtual Course Course { get; set; }

        public virtual Teacher Teacher { get; set; }
    }
}
